Overview
WRF (Weather Research and Forecasting) is a numerical weather prediction system used in atmospheric research and forecasting workflows. It supports parallel computation and is commonly used for mesoscale weather simulation.
This example demonstrates how to submit a WRF job in IEC and verify that the expected output files are generated.
Procedure
Preparing Input Data
- Go to EonKube > HPC > File Explorer.
- Create a folder named wrf_data under your home directory.
- Upload the required meteorological data and configuration files inside it.
Submitting the Job
- Go to EonKube > Apps > Marketplace.
- Open the WRF application page.
- Click Submit.
- Configure the required settings, including:
- Basic Settings
- Project: Select a Project from the drop-down menu
- Job Name: For example, wrf-job.
- App Version: Choose the version of the WRF application, such as 4.1.0 for Singularity.
- MPI: Enable if MPI execution is required
- Resource Configuration:
Configure control node and compute node resources according to workload requirements.
Example configuration:- Control Node
- CPU: 1 Core
- Memory: 2 GiBs.
- Compute Node
- CPU: 2 Cores.
- Memory: 4 GiBs.
- Control Node
- Command Settings: Enter the command to execute WRF.
Example:mkdir -p wrf_test
singularity run $APP_BINARY bash -c "ln -sf /usr/local/WPS_WRF/WRF-4.3-ARW/run/* wrf_test/"
cp wrf_data/met_em* wrf_test/
cp wrf_data/namelist.input wrf_test/
cd wrf_test/
mpirun --host $MPI_HOST -np $NODE_NUM singularity run $APP_BINARY ./real.exe
mpirun --host $MPI_HOST -np $NODE_NUM singularity run $APP_BINARY ./wrf.exe
- Basic Settings
- Click on Create to submit the job.
Monitoring the Job
- Go to EonKube > HPC > Volcano Jobs.
- Locate the WRF job.
- Confirm that the status changes to Completed.
- Click ⋮ > View Logs to review execution detail. Check if there are information show like below.
Done! Written: relion_test_MotionCorr/corrected_micrographs.star
Now generating logfile.pdf ...
Done! Written: relion_test_MotionCorr/logfile.pdf
Review Results
- Go to EonKube > HPC > File Explorer.
- Open the wrf_data folder or the configured output directory.
- Verify that output files such as wrfout_d0* have been generated
- Confirm that the output log contains the expected completion message such as SUCCESS COMPLETE WRF.
Users can further analyze results by using tools such as NCL or other post-processing tools compatible with WRF output.